package com.example.threaddemo.ThreadClass;

public class RunnableDemo implements Runnable{
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            Thread thread = Thread.currentThread();
            System.out.println(thread.getName() +"Hello Word");
        }
    }
}
